
package com.mu.rai.services;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for faultMatchBehavior.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p>
 * <pre>
 * &lt;simpleType name="faultMatchBehavior">
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     &lt;enumeration value="Fault_Isolation"/>
 *     &lt;enumeration value="Log_fault"/>
 *   &lt;/restriction>
 * &lt;/simpleType>
 * </pre>
 * 
 */
@XmlType(name = "faultMatchBehavior")
@XmlEnum
public enum FaultMatchBehavior {

    @XmlEnumValue("Fault_Isolation")
    FAULT_ISOLATION("Fault_Isolation"),
    @XmlEnumValue("Log_fault")
    LOG_FAULT("Log_fault");
    private final String value;

    FaultMatchBehavior(String v) {
        value = v;
    }

    public String value() {
        return value;
    }

    public static FaultMatchBehavior fromValue(String v) {
        for (FaultMatchBehavior c: FaultMatchBehavior.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }

}
